Description,,
ScanTime,0,False,False,
Data,int,minus,1,"0,"
Data,int,plus,1,"0,"
Programm,BEGIN,
if($AI_0002 > $rand_1){
    minus = $AI_0002 - $rand_1;
    if(minus < 5){
        $AI_0002 = $rand_1;
    }else{
        $AI_0002 = $AI_0002 - (minus*0.1);
    }
}
elseif($AI_0002 < $rand_1){
    plus = $rand_1 - $AI_0002;
    if(plus < 5){
        $AI_0002 = $rand_1;
    }else{
        $AI_0002 = $AI_0002 + (plus*0.1);
    }
}
else{
    
}
Programm,END,
